# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname=py3-pytest-regtest
_pyname=pytest-regtest
pkgver=1.4.2
pkgrel=1
pkgdesc="pytest-regtest is a pytest-plugin for implementing regression tests"
url="https://gitlab.com/uweschmitt/pytest-regtest"
arch="noarch"
license="MIT"
depends="py3-pytest"
makedepends="py3-setuptools"
checkdepends="py3-pexpect py3-tox"
source="https://files.pythonhosted.org/packages/source/p/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install \
		--prefix=/usr \
		--root="$pkgdir"

}

sha512sums="b93c8b5c68abd8b78e8bd1930fb638ffb90bb3f6fef9b99f7da67c974d1678239ae7e80852a6ed6034abb8a043180d2eacb4dbabb43a13ca74ddb0af8f281206  pytest-regtest-1.4.2.tar.gz"
